
<div class="full_w">
	<div class="h_title">Danh mục sản phẩm</div>
	
	<table>
		<thead>
			<tr>
				<th scope="col">ID</th>
				<th scope="col">Tên SP</th>
				<th scope="col">Giá</th>
				<th scope="col">Hình Ảnh</th>
				<th scope="col" style="width: 65px;"></th>
			</tr>
		</thead>
			
		<tbody>
		<?php 
			foreach ($data as $items) {
		?>
			<tr>
				<td class="align-center"><?php echo $items['sanpham_Id'] ?></td>
				<td><?php echo $items['sanpham_Ten']?></td>
				<td><?php echo $items['sanpham_Gia']?></td>
				<td><img width="70" height="70" src="<?php echo base_url()?>/public/frontend/sanpham/<?php echo($items['sanpham_HinhAnh']); ?>"></td>
				<td>
					<a href="<?php echo base_url()?>admin/products/editProduct/<?php echo $items['sanpham_Id']?>" class="table-icon edit" title="Edit"></a>
					<!--<a href="#" class="table-icon archive" title="Archive"></a>
					<a href="<?php echo base_url()?>/admin/users/deleteUser/<?php echo $items['users_Id']?>" class="table-icon delete" title="Delete"></a>
					-->
				</td>
			</tr>

		<?php

			}
		?>

		</tbody>
	</table>
	<div class="clear"></div>
	<div class="pagination" style="margin-left:10px"><ul><?php echo $this->pagination->create_links();?> </ul></div>
</div>
